package com.wxb.common.core.enums.mall;


/**
 * 满减条件类型
 * @author hd
 * @date 20240813
 */
public enum MallCondition {
    PRICE(10, "满 N 元"),
    COUNT(20, "满 N 件");
    private final int code;
    private final String info;

    MallCondition(int code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public int getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
